﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SecurityEvaluate/SecurityEvaluate.master" AutoEventWireup="true"
    CodeFile="SubjectLogs.aspx.cs" Inherits="SubjectLogs" StylesheetTheme="Content" %>

<%@ Register Src="../../UserContral/ListPageContral.ascx" TagName="ListPageContral"
    TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">

    <script type="text/javascript">
        function OpenUrl(pp) {

            window.showModalDialog(pp, 'newwindow', 'resizable:yes;scroll:yes;status:no;dialogWidth=1200px;dialogHeight=1000px;center=yes;help=no');
        }
    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:GridView ID="GV" runat="server" AutoGenerateColumns="False" Width="100%" Caption="<span>答题列表</span>"
        OnRowDataBound="gvChemical_RowDataBound" PageSize="20" ShowHeader="False" 
        DataKeyNames="ID">
        <Columns>
            <asp:TemplateField ItemStyle-HorizontalAlign="Left" ItemStyle-Width="5">
                <ItemTemplate>
                    <asp:Label runat="server" ID="lblID"></asp:Label>、
                </ItemTemplate>

<ItemStyle HorizontalAlign="Left" Width="5px"></ItemStyle>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="题目" ItemStyle-HorizontalAlign="Left">
                <ItemTemplate>
                    <a onclick="javascript:OpenUrl('<%# GetPageUrl(Eval("Id")) %>?Id=<%# Eval("Id") %>')" href="#">
                        <asp:Label runat="server" ID="lblCaption"></asp:Label>
                    </a>&nbsp;&nbsp;&nbsp;&nbsp; [<asp:Label runat="server" ID="lblDepartment"></asp:Label>]
                </ItemTemplate>

<ItemStyle HorizontalAlign="Left"></ItemStyle>
            </asp:TemplateField>
            <asp:TemplateField>
                <ItemTemplate>
                    <asp:Label runat="server" ID="lblDate"></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
    <uc1:ListPageContral ID="ListPageContral1" runat="server" PageSize="20" OnPageSizeChange="ListPageContral1_PageSizeChange" />
</asp:Content>
